﻿<UserControl x:Class="DIST.LR.ZHJG.HzShell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:inf="clr-namespace:DIST.LR.ZHJG.Infrastructure;assembly=DIST.LR.ZHJG.Infrastructure.Silverlight"
    xmlns:Regions="http://www.codeplex.com/prism"
    mc:Ignorable="d"
    d:DesignHeight="500" d:DesignWidth="1000"
    xmlns:test="clr-namespace:DIST.LR.ZHJG.Navigation;assembly=DIST.LR.ZHJG.Navigation.Silverlight">

    <Grid x:Name="LayoutRoot"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition Height="80"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="55"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.Background>
            <ImageBrush ImageSource="Images/modulebg.png"></ImageBrush>
        </Grid.Background>
        <Grid  Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Grid.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF3D8FC1"/>
                    <GradientStop Color="#FF175EA0" Offset="1"/>
                </LinearGradientBrush>
            </Grid.Background>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100"></ColumnDefinition>
                <ColumnDefinition Width=".45*"></ColumnDefinition>
                <ColumnDefinition Width=".4*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Image Source="Images/Logo.png" Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" HorizontalAlignment="Left" Margin="20 5 20 5"></Image>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Row="0" Grid.RowSpan="2" Grid.Column="1">
                <TextBlock Text="杭州市" Foreground="White" FontFamily="/DIST.LR.ZHJG.Banner.Silverlight;component/Fonts/Fonts.zip#FZCuQian-M17S" FontSize="42" Width="140" HorizontalAlignment="Center" VerticalAlignment="Bottom"></TextBlock>
                <TextBlock Text="土地批供用补查监管信息系统" Foreground="White" FontFamily="/DIST.LR.ZHJG.Banner.Silverlight;component/Fonts/Fonts.zip#FZCuQian-M17S" FontSize="36" VerticalAlignment="Bottom"></TextBlock>
            </StackPanel>
            <StackPanel  Orientation="Horizontal" Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" Margin="0 5 20 5" >
                <TextBlock Text="管理员" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" FontSize="16"  Margin="0 0 10 0" ></TextBlock>
                <Border  BorderThickness="2" BorderBrush="#FFCCCCCC" HorizontalAlignment="Right" >
                    <Image Source="Images/user.png" Width="28" Height="28" Stretch="UniformToFill"></Image>
                </Border> 
            </StackPanel>
            <ContentControl Grid.Column="2" Grid.Row="1" VerticalAlignment="Top" HorizontalAlignment="Right" Regions:RegionManager.RegionName="NaviRegion"></ContentControl>
        </Grid>
        
        <ContentControl  Grid.Row="1"   Regions:RegionManager.RegionName="ModuleRegion" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" ></ContentControl>        
        <Grid Grid.Row="2">
        </Grid>

        <Canvas  Height="90" Width="720" Grid.Row="0" Grid.RowSpan="3" HorizontalAlignment="Left" VerticalAlignment="Bottom" >
            <Image Source="Images/leftfootbg.png" HorizontalAlignment="Left"  Width="720" Height="90" Stretch="Fill"></Image>
        </Canvas>
        <!--<Path  Grid.Row="2" Data="M0.33333334,248.33333 L132.66701,298.33365 L132.66701,299.50064 L0.00033414285,297.83395 z" Fill="#FFA8B3BA" HorizontalAlignment="Left" Margin="-0.501,28.167,0,0.999"  Stretch="Fill" Stroke="#FF1B0E0E" StrokeThickness="0" UseLayoutRounding="False" Width="129.334"/>
            <Path Grid.Row="2" Data="M1,291.66666 L0.33333334,249.16634 L121.27317,292.66632" Fill="#FF3D8FC1" HorizontalAlignment="Left" Margin="-0.167,28.667,0,0.999"  Stretch="Fill" Stroke="#FF100909" UseLayoutRounding="False" Width="125.333" StrokeThickness="0"/>-->

    </Grid>
</UserControl>
